package com.slj.service;

import com.slj.comm.responce.PageResult;
import com.slj.model.query.ProductQuery;
import com.slj.model.entity.Products;
import com.baomidou.mybatisplus.extension.service.IService;
import com.slj.model.vo.ProductVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 供应商商品信息表 服务类
 * </p>
 *
 * @author 礼俊
 * @since 2025-09-20 22:46
 */
public interface ProductsService extends IService<Products> {
    /**
     * 分页查询供应商商品信息
     *
     * @param productQuery
     * @return
     */
    PageResult pageList(ProductQuery productQuery);

    void editProduct(Products products, MultipartFile imageFile);

    PageResult<ProductVo> getProductPage(ProductQuery productQuery);
}
